package vip.liux.contracts.repositories.point;

import org.springframework.data.repository.ListCrudRepository;
import org.springframework.data.repository.ListPagingAndSortingRepository;
import vip.liux.contracts.models.point.PointsUsage;

import java.util.Collection;
import java.util.List;

public interface IPointsUsageRepository extends ListPagingAndSortingRepository<PointsUsage, Long>, ListCrudRepository<PointsUsage, Long> {
    List<PointsUsage> findByDetailIdIn(Collection<Long> detailIds);
}